<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul id="myUl">
    <li>aaa</li>
    <li>bbb</li>
    <li>ccc</li>
</ul>
<script>
    var myUl = document.getElementById('myUl');
    console.log(myUl.childNodes);//节点
    console.log(myUl.children);//元素
</script>

</body>
</html>